package com.senac.exception;


public class AlunoException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4401220129347392122L;
	
	public enum ALUNO_ERROR {ALUNO_NAME_EMPTY, ALUNO_NAME_INVALID_LENGTH, ALUNO_RG_EMPTY, ALUNO_RG_INVALID_LENGTH, };

	private ALUNO_ERROR error;

	public AlunoException(ALUNO_ERROR error) {
		this.error = error;
	}
	
	public ALUNO_ERROR getError() {
		return error;
	}

	public void setError(ALUNO_ERROR error) {
		this.error = error;
	}



	
	

}
